<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-html"  prefix="html"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
     <link href="CSS/Accessible_Design.css" rel="stylesheet" type="text/css" />
    <title>贷款金额管理</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<style type="text/css">
<!--
BODY {

	BACKGROUND:799ae1;
	margin-top:1px;
	background-color: #ECECFF;
}

-->
</style>
			<script type="text/javascript" language="java">
  function selectid(object){
	  var namelist=document.getElementsByName('moneyListId');
	  for(var i=0;i<namelist.length;i++)
		  {
		  var e=namelist[i];
		  e.checked=object.checked;
		  }
  }
 
 </script>

	
  </head>
  
  <body>
  <html:form action="deleteLoadMoney.do">
    <table border="1"  cellspacing="0" width="323">
    <tr>
    <td  colspan="3" align="center">贷款金额管理
    </td>
    
    </tr>
    <tr>
	    <td width="70">
	   <html:checkbox property="moneyall" onclick="selectid(object);"></html:checkbox>
	    全选
	    </td>
	     <td>
	     金额
	    </td>
	     <td>
	     查看
	    </td>
    </tr>
    <c:forEach items="${listMoney}" var="listMoney" >
    <tr>
	    <td>
	    <html:checkbox property="moneyListId" value="${listMoney.moneyId}"></html:checkbox>
	    </td>
	     <td>
	     ${listMoney.loadMoney}
	    </td>
	    <td>
	    <a href="showLoadMoney.do?moneyId=${listMoney.moneyId}">修改</a>
	    </td>
    </tr>
    </c:forEach>
    <tr>
	    <td  colspan="3">
			<html:submit value="删除"></html:submit> 
			
			<a href="admin/LoadMoneyAdd.jsp">添加</a>
	    </td>
	     
    </tr>
    
    </table>
    </html:form>
  </body>
</html>
